<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>教室管理</title>
    <jsp:include page="/static/common/easyui-header.jsp"></jsp:include>
    <script type="text/javascript" src="/static/js/views/classroom.js"></script>
</head>
<body>
    <table id="classroom_datagrid"></table>
    <%--工具条--%>
    <div id="classroom_datagrid_toolbar">
        <a class="easyui-linkbutton" iconCls="icon-add" plain="true" data-cmd="addClassroom">添加</a>
        <a class="easyui-linkbutton" iconCls="icon-edit" plain="true"  data-cmd="editClassroom">编辑</a>
        <a class="easyui-linkbutton" iconCls="icon-redo" plain="true"  data-cmd="watchClassroom">查看</a>
        <a class="easyui-linkbutton" iconCls="icon-remove" plain="true" data-cmd="removeClassroom" id="stop_button">停用</a>
        <a class="easyui-linkbutton" iconCls="icon-reload" plain="true" data-cmd="reloadClassroom">刷新</a>
        <span>关键字:</span>
        <input class="easyui-textbox" id="keyword">
        <a class="easyui-linkbutton" iconCls="icon-search" plain="true" data-cmd="search">查询</a>
    </div>
    <%--添加的弹框--%>
    <div id="classroom_dialog" style="padding: 10px">
        <form id="classroom_add_form" method="post">
            <input type="hidden" name="id" id="classroom_id">
            <table>
                <tr>
                    <td>教室名称:<input name="name" class="easyui-textbox"></td></tr>
                    <td>教室地址:<input name="address" class="easyui-textbox"></td></tr>
                    <td>座位数&emsp;:<input name="seats" class="easyui-textbox"></td></tr>
                    <td>教室标语:<input name="remark" class="easyui-textbox"></td>
                </tr>
            </table>
        </form>
    </div>
    <%--弹窗的底部工具--%>
    <div id="classroom_dialog_buttons">
        <a class="easyui-linkbutton" iconCls="icon-save" plain="true"  data-cmd="save" >保存</a>
        <a class="easyui-linkbutton" iconCls="icon-cancel" plain="true" data-cmd="cancel">取消</a>
    </div>
    <%--查看教室的底部按钮--%>
    <div id="watch_classroom_dialog_buttons">
        <a class="easyui-linkbutton" iconCls="icon-ok" plain="true" data-cmd="ok">确定</a>
    </div>
    <%--查看教室的弹窗--%>
    <div id="watch_classroom_dialog">
        <table id="watch_classroom_datagrid"></table>
    </div>
</body>
</html>
